* {
  margin: 0;
  font-family: "Science Gothic", sans-serif;
}
#menu-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000;

    transform: translateY(-60px); 
    transition: transform 0.35s ease;
}
#actual {
  text-decoration: none;
  color: blue;
  transition: 0.5s;
}



#menu-wrapper.activo {
    transform: translateY(0);
}




#navbar {
    background: #111;
    text-align: center;
    padding: 10px 0;
    border-top: 3px solid orange;
}




#navbar.activo {
    transform: translateY(0);
}



#toggleNav {
    display: block;
    margin: 0 auto;

    padding: 10px 25px;
    background: #222;
    color: white;
    border: none;
    border-radius: 0 0 10px 10px;
    cursor: pointer;
}





#torneos{
  border-radius: 10px; 
  text-align: center;
  margin: auto;
}


body {
  text-align: center;
}

a {
  text-decoration: none;
  color: grey;
  transition: 0.5s;
}

a:hover {
  color: cyan;
}

#actual:hover {
  color: cyan;
}

#Cambiopag {
  font-size: 20px;
}

header {
  background-image: url("imagenes/Barra-background.png");
  background-size: 185%;
  font-size: 20px;
  border-radius: 10px;  
  border: 3px solid orangered;
  padding-top: 10px;
  padding-bottom: 10px;
}

video {
  border-radius: 20px;
}

main h1 {
  color: orangered;
}

main h2 {
  color: orangered;
}

main p {
  font-size: 20px;
  color: orange;
  margin: 2px;
}


main {
  text-align: center;
  width: 65%;
  margin: auto;
  background-image: url("imagenes/main_background.png");
  background-size: 100%;
  border-radius: 10px;
  border: 3px solid blue;
}

body {
  margin: auto;
  background-image: url("imagenes/background.png");
  background-attachment: fixed;
  background-size: 102%;
}

#Top8 {
  width: 75%;
  height: 75%;
  border-radius: 20px;
  transition: 0.5s;
}

#Top8:hover {
  transform: scale(1.1);
}

#Plantita:hover {
  transform: scale(1.1);
}

#Plantita {
  width: 50%;
  height: 50%;

  transition: 0.5s;
}
#CSS {
    width: 10%;
    height: 10%;
    border-radius: 2px;
    transition: 0.5s;
  }

  #CSS:hover {
    transform: scale(1.05);
  }
  #Bracket {
    width: 70%;
    height: 70%;
    border-radius: 2px;
    transition: 0.5s;
  }

  #Bracket:hover {
    transform: scale(1.05);
  }
  #timer 
  { font-family: monospace; font-size: 24px; text-align: center; margin-top: 20px; 
  }
  .time-unit 
  { margin: 0 10px; 
  }













/* Dispositivos móviles */















@media (max-width: 768px) {
  * {
    margin: 0;
    font-family: "Science Gothic", sans-serif;
  }

  #menu-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000;

    transform: translateY(-60px); 
    transition: transform 0.35s ease;
}



#menu-wrapper.activo {
    transform: translateY(0);
}




#navbar {
    background: #111;
    text-align: center;
    padding: 10 px 0;
    border-top: 3px solid orange;
}




#navbar.activo {
    transform: translateY(0);
}



#toggleNav {
    display: block;
    margin: 0 auto;

    padding: 10 px 25px;
    background: #222;
    color: white;
    border: none;
    border-radius: 0 0 10px 10px;
    cursor: pointer;
}

  body {
    text-align: center;
  }

  a {
    text-decoration: none;
    color: grey;
    transition: 0.5s;
  }

  a:hover {
    color: cyan;
  }
  #actual {
  text-decoration: none;
  color: blue;
  transition: 0.5s;
}

#actual:hover {
  color: cyan;
}

  #Cambiopag {
    font-size: 10px;
  }

  header {
    background-image: url("imagenes/Barra-background.png");
    background-size: 100%;
    font-size: 10px;
    border-radius: 2px;
    border: 2px solid orangered;
    padding-top: 5px;
    padding-bottom: 5px;
  }

  video {
    border-radius: 2px;
  }

  main h1 {
    color: orangered;
  }

  main h2 {
    color: orangered;
  }

  main p {
    font-size: 10px;
    color: orange;
    margin: 2px;
  }

  main a {
    font-size: 10px;
  }

  

  main {
    text-align: center;
    width: 99%;
    margin: auto;
    background-image: url("imagenes/main_background.png");
    background-size: 100%;
    border-radius: 2px;
    border: 2px solid blue;

  }

  body {
    margin: auto;
    background-image: url("imagenes/background.png");
    background-attachment: fixed;
    background-size: 102%;
  }
  #Top8 {
    width: 70%;
    height: 70%;
    border-radius: 2px;
    transition: 0.5s;
  }

  #Top8:hover {
    transform: scale(1.1);
  }

  #Plantita:hover {
    transform: scale(1.1);
  }

  #Plantita {
    width: 80%;
    height: 80%;

    transition: 0.5s;
  }

  #CSS {
    width: 20%;
    height: 20%;
    border-radius: 2px;
    transition: 0.5s;
  }

  #CSS:hover {
    transform: scale(1.05);
  }
  #Bracket {
    width: 80%;
    height: 80%;
    border-radius: 2px;
    transition: 0.5s;
  }

  #Bracket:hover {
    transform: scale(1.05);
  }
}

 